package com.lanchetech.merchant.service.impl;


import com.lanchetech.merchant.service.BrandService;
import com.lanchetech.bean.request.PageReq;
import com.lanchetech.bean.response.BasePageResp;
import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.bean.util.PageHelpUtil;
import com.lanchetech.dao.BrandMapper;
import com.lanchetech.dao.CategoryBrandMapper;
import com.lanchetech.entity.Brand;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class BrandServiceImpl implements BrandService {

    @Autowired
    BrandMapper brandMapper;

    @Override
    public ResultData<List<Brand>> getBrandList() {
        return new ResultData<>(brandMapper.findAll());
    }
}